﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using RoadTeam.Model;
using RoadTeam.Model.CS;
using RoadTeam.Enums;
using RoadTeam.SysInterface;

namespace RoadTeam.CsSystem.CS
{
    class CsRepairRecord : ICsRepairRecord
    {
        public DataTable GetEmptyDataRepairRecords()
        {
            客服_收楼维修记录 Item = new 客服_收楼维修记录();
            SqlWhere where = new SqlWhere();
            where.SelectColumn = @"  Top 0 收楼维修单号,维修项目id,施工人,维修单位,规定日期,预警日期,是否完成 ";
            return  客服_收楼维修记录.Select(where, GlobalConfig.RtConnectionString);
        }

        public bool InsertDatatableToSysTem(DataTable dt)
        {
            return 客服_收楼维修记录.InsertDatatable(dt, GlobalConfig.RtConnectionString);
        }

    }
}
